package com.jwds.digital.bios.business.core.infrastructure.entity.dispatch;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import com.jwds.tdc.framework.database.lib.BaseEntity;
import java.math.BigDecimal;
import java.time.LocalDate;
import java.time.LocalDateTime;

/**
 * 料场受料调度
 *
 * @author 林柏云
 * @date 2024-10-24
 */
@Data
@EqualsAndHashCode(callSuper = true)
@TableName("dispatch_receiving_materials")
public class DispatchReceivingMaterials extends BaseEntity<Long> {


    /**
    * 受料槽编号
    */
    @TableField("warehouse_code")
    private Long warehouseCode;


    /**
    * 半下受料槽名称（DC1-DC12、DC13）
    */
    @TableField("warehouse_name")
    private String warehouseName;

    /*
    * 起点位置
    *
    * */
    @TableField("origin_pointion")
    private String originPointion;

    /**
    * 起点设备
    */
    @TableField("origin_device")
    private String originDevice;

    /**
    * 终点位置
    */
    @TableField("dest_pointion")
    private String destPointion;


    /**
    * 终点设备
    */
    @TableField("dest_device")
    private String destDevice;


    /**
    * 发送时间
    */
    @TableField("send_time")
    private LocalDateTime sendTime;


    /**
    * 作业号
    */
    @TableField("task_no")
    private String taskNo;


    /**
    * 作业类别:1受料 2供料 3直供  4混匀
    */
    @TableField("work_type")
    private Integer workType;


    /**
    * 大堆号
    */
    @TableField("heap_code")
    private String heapCode;


    /**
    * 采购重量(t)\计划量
    */
    @TableField("plan_weight")
    private BigDecimal planWeight;


    /**
    * 供应商
    */
    @TableField("supplier")
    private String supplier;


    /**
    * 排队车数
    */
    @TableField("line_up_vehicles")
    private Integer lineUpVehicles;


    /**
    * 到货车数
    */
    @TableField("vehicles")
    private Integer vehicles;


    /**
    * 物料编号
    */
    @TableField("material_code")
    private Long materialCode;


    /**
    * 物料类型，如铁矿石、焦炭等物料
    */
    @TableField("material_name")
    private String materialName;

    /**
    * L3执行计划
    */
    @TableField("l_id")
    private Long lId;




}
